package com.devunion.bogdan.model.event;

import com.devunion.bogdan.model.project.Project;
import com.devunion.bogdan.model.project.Paper;

/**
 * @author Viktar Liaskovich
 */
public class PaperEvent extends BaseEvent<Project> {
    private Paper entry;

    /**
     * Constructs a prototypical Event.
     *
     * @param source The object on which the Event initially occurred.
     * @throws IllegalArgumentException if source is null.
     */
    public PaperEvent(Project source, Paper entry) {
        super(source);

        this.entry = entry;
    }

    public Paper getEntry() {
        return entry;
    }
}
